settings: Overallocate property_values
authorTimm Bäder <mail@baedert.org>
Thu, 31 Dec 2020 11:48:41 +0000 (12:48 +0100)
committerTimm Bäder <mail@baedert.org>
Sun, 3 Jan 2021 10:01:29 +0000 (11:01 +0100)
commitf9fe640905351b7f94342035b49b0f5a553e82ea
tree8ba03adaf68257be7885b61fd44e14778884fe52
parent34ea99006ffdbe1a4eab34e2c6db793ca75dd160
settings: Overallocate property_values

Instead of walking the pspecs twice and checking for the owner_type,
just allocate n_pspecs entries. They are the same value right now
anyway, but even if they aren't it doesn't hurt to have a few extra ones
allocated.
gtk/gtksettings.c